home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gTextSprite, myWindow, myWindowRect
- pushButton()
- set spriteNumber to gTextSprite
- set cnum to the castNum of sprite spriteNumber
- copyToClipBoard(cast cnum)
- set myWindowRect to rect(20, 20, 612, 360)
- set myWindow to window "Export"
- set the rect of myWindow to myWindowRect
- set the fileName of myWindow to "Export.dir"
- set the titleVisible of myWindow to 0
- open(myWindow)
- end
-